package Test;

/**
 *
 * 业务逻辑
 */
public class StudentAction {
    public student student =new student("aa",18,"男","123456" );
    public void work(){
        System.out.println(student.getName()+"学习文化知识");
    }
    public void hover(){
        System.out.println(student.getAge()+"岁进行体育运动");
    }
    public void eat(){
        System.out.println(student.getSex()+"生喜欢吃食堂快餐");
    }
}
